PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFAnnotation Class / setRotation Method
The annotation rotation angle in degrees.
In This Topic
    setRotation Method
    In This Topic
    Sets the annotation rotation angle.
    The accepted values for this property are 0, 90, 180 and 270 degrees.
    Syntax
    public void setRotation( 
       int rotation
    )

    Parameters

    rotation
    The annotation rotation angle in degrees.
    Exceptions
    ExceptionDescription
    When the value being set is not one of the accepted values.
    See Also